Conversation
🚀 Package Preview Available!Install this PR's preview build with npm: npm i @base44-preview/cli@0.0.42-pr.404.3910440Prefer not to change any import paths? Install using npm alias so your code still imports npm i "base44@npm:@base44-preview/cli@0.0.42-pr.404.3910440"Or add it to your {
"dependencies": {
"base44": "npm:@base44-preview/cli@0.0.42-pr.404.3910440"
}
}
Preview published to npm registry — try new features instantly! |
|
@claude please go over the changes to the github action (manual-publish) and try to find issues that might happen after i merge this? |
|
Claude finished @kfirstri's task in 2m 48s —— View job Review of
|
| # | File | Issue | Severity |
|---|---|---|---|
| 1 | update-tap.sh:44 |
Hardcoded master branch will fail if homebrew-tap uses main |
🔴 High |
| 2 | manual-publish.yml:37 |
Reused token likely lacks cross-repo access for tap + skills | 🔴 High |
| 3 | manual-publish.yml:149 |
Unquoted glob could produce confusing errors if build fails | 🟡 Medium |
| 4 | update-tap.sh:24 |
sed -i breaks on macOS (CI-only script, but still) |
🟡 Low |
| 5 | manual-publish.yml:168 |
RELEASE_URL not JSON-escaped in payload |
🟢 Info |
Issues 1 and 2 are the ones most likely to cause real failures after merging. I'd recommend checking the branch name of homebrew-tap and verifying whether the default generate-token has org-wide access before merging.
Note
Description
This PR automates the Homebrew tap update process as part of the release pipeline and refactors the manual-publish.yml workflow for clarity and simplicity. A new update-tap.sh script computes SHA256 checksums for each platform archive, renders the formula template, and pushes the updated formula to base44/homebrew-tap on every latest tag release. As a result, SHA256 checksum file generation is removed from package-binaries.ts, since checksums are now computed inline in CI.
Related Issue
None
Type of Change
Changes Made
.github/workflows/manual-publish.yml: Removed update_changelog input and separate version-bump/check steps; version setting is now a single unified step.github/workflows/manual-publish.yml: Consolidated Publish to NPM and Dry run publish into a single step using a conditional --dry-run flag.github/workflows/manual-publish.yml: Merged Create Release and Upload binaries into a single gh release create call that uploads .tar.gz files directly.github/workflows/manual-publish.yml: Removed separate skills-token generation step; reuses the existing generate-token token for both Homebrew tap and skills repo dispatch.github/workflows/manual-publish.yml: Added Update Homebrew Tap step (runs on latest non-dry-run releases) that invokes update-tap.shpackages/cli/infra/homebrew/update-tap.sh(new): Shell script that computes SHA256 checksums, renders base44.rb template placeholders, clones base44/homebrew-tap, and pushes the updated formulapackages/cli/infra/package-binaries.ts: Removed SHA256 checksum file generation (.sha256 files), since checksums are now computed inline in CIpackages/cli/infra/homebrew/base44.rb: Updated comments to reflect it is a CI-rendered template, not a manually-copied referencedocs/binary-distribution.md: Updated to reflect automated Homebrew tap workflow, removed references to .sha256 file uploads, and added user-facing brew install instructionsTesting
Checklist
Additional Notes
The Homebrew tap update only triggers when dry_run == 'false' and npm_tag == 'latest', so beta/alpha releases are unaffected. The update-tap.sh script is idempotent — if the formula is already up to date it exits cleanly without committing.
Generated by Claude | 2026-03-11 09:00 UTC